AddActivationsToSerialNoRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > AddActivationsToSerialNoRecord

## AddActivationsToSerialNoRecord

The AddActivationsToSerialNoRecord function will add a number of activations to an existing serial number.

###### Syntax

TCheckPointSNGenerationResponse * AddActivationsToSerialNoRecord( TCheckPointSNSerialRecord * ASerialNoRecord, BSTR ASessionID ) ;

###### Parameters

ASerialNoRecord

[IN] This is a TCheckPointSNSerialRecord that will contain all the data that is used to add activations. The fields of interest are:

- SNSerialsID - The serial ID of the entry to be affected

- SerialNumber - the serial number to be affected

- OrderNo - the order number to be affected

- TotalActivationsPermitted - number of total activations that you want to add

- OverflowActivationsPermitted - number of overflows that you want to add

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

The AddActivationsToSerialNoRecord function will add a number of activations to an existing serial number.

For SNSerialsID, SerialNumber, and OrderNo, only one of them need to be declared. Only one of those fields will be taken into account when searching for a Serial number generation record.

Only CheckPoint administrators are allowed to use this function.

###### Return Value

Returns the custom class TCheckPointSNGenerationResponse. The fields of interest that is related to this method are:

- CheckPointReturnCode- the return code of the function.

- SN- The Serial Number that is affected

- ErrorMessage- If an error occurred, this field will contain the related error message

- Success- True if the web service call was successful, false otherwise it is false.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"